<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
<link rel="stylesheet" type="text/css" href="../Styles/bootstrap-3.3.7-dist/css/bootstrap.min.css" />
<script type="text/javascript" src="../Scripts/jquery.min.js"></script>

<script type="text/javascript" src="../Styles/bootstrap-3.3.7-dist/js/bootstrap.min.js"></script>
<script type="text/javascript" src="../Scripts/vue.min.js"></script>
<script type="text/javascript" src="../Styles/laypage/laypage.js"></script>
    <style type="text/css">
        .add{
            color: #00FF00;
        }
        .main-content{
            width: 90%;
            margin: auto;
        }
        .main-head{
           width:500px;
           margin-left:10%;
        }
    </style>
</head>
<body>
<div>
    <div class="main-head">
        <h2><span class="glyphicon glyphicon-plus add"></span>计划信息发布</h2>
    </div>
    <div class="main-content">
        <form class="form-horizontal" method="post" action="../addWorkPlan" id="form">
            <div class="form-group">
                <label for="inputEmail3" class="col-sm-2 control-label">主题</label>
                <div class="col-sm-10">
                    <input type="text" class="form-control" name="ptitle" id="inputEmail3" placeholder="请输入主题" style="width: 350px">
                </div>
            </div>
            <div class="form-group">
                <label for="inputPassword3" class="col-sm-2 control-label">计划设置</label>
                <div class="col-sm-10">
                    <input name="psetting" type="radio"  value="个人" />个人
                    <input name="psetting" type="radio"  value="部门" />部门
                </div>
            </div>

            <div class="form-group">
                <label for="start-time" class="col-sm-2 control-label">开始时间</label>
                <div class="col-sm-10">
                    <input type="date" name="startDate" class="form-control" id="start-time" style="width: 200px">
                </div>
            </div>

            <div class="form-group">
                <label for="stop-time" class="col-sm-2 control-label">结束时间</label>
                <div class="col-sm-10">
                    <input type="date" name="stopDate" class="form-control" id="stop-time" style="width: 200px">
                </div>
            </div>

            <div class="form-group">
                <label for="duty" class="col-sm-2 control-label">负责人</label>
                <div class="col-sm-10">
                    <input type="text" name="pwheel_id" class="form-control" id="duty" style="width: 350px">
                </div>
            </div>

            <div class="form-group">
                <label for="partake" class="col-sm-2 control-label">参与人</label>
                <div class="col-sm-10">
                    <input type="text" name="partcipant_id" class="form-control" id="partake" style="width: 350px">
                </div>
            </div>

            <div class="form-group">
                <label for="remarks" class="col-sm-2 control-label">备注</label>
                <div class="col-sm-10">
                    <textarea rows="5" cols="45" id="remarks" name="premark"></textarea>
                </div>
            </div>

            <div class="form-group">
                <label for="content" class="col-sm-2 control-label">内容</label>
                <div class="col-sm-10">
                    <textarea rows="10" cols="50" id="content" name="pcontent"></textarea>
                </div>
            </div>

            <div class="form-group">
                <div class="col-sm-offset-2 col-sm-10">
                    <button type="submit" class="btn btn-default" id="submit">提交</button>
                </div>
            </div>
        </form>
    </div>
</div>
<script type="text/javascript">
  $(function(){
	  $("#submit").click(function(){
		  $("#form").submit();
	  })
  })
</script>
</body>
</html>